package com.hirain.proxy;

/**
 * Created by caicf on 2016/8/17.
 */
public class FxxProxy implements ISubject {

    private Fxd fxd;

    public FxxProxy(Fxd fxd) {
        this.fxd = fxd;
    }

    @Override
    public void missHer() {
        System.out.println("代理中：missHer调用前");
        fxd.missHer();
        System.out.println("代理中：missHer调用后台");
    }

    @Override
    public void seeHer() {
        System.out.println("代理中：missHer调用前");
        fxd.seeHer();
        System.out.println("代理中：missHer调用后台");

    }
}
